123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <!--
- * 제 목 : 사업장상세관리
- * 설 명 : 사업장상세관리
- * 설 계 자 :
- * 작 성 자 :
- * 작 성 일 :
- * 수정이력 :
- * 기 타 :
- -->
- <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/css" ?>
- <xhtml:html xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.w3.org/2002/01/xforms" xmlns:ev="http://www.w3.org/2001/xml-events">
- <xhtml:head>
- <xhtml:title>사업장상세관리</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <main>
- <ahbmgcpyinfo>
- <item>
- <cmpyid/>
- <cmpynm/>
- <appyear/>
- </item>
- </ahbmgcpyinfo>
- <cmpysinfo>
- <item>
- <cmpyid/>
- <cmpynm/>
- <appyear/>
- <officezipcd1/>
- <officezipcd2/>
- <officezipcdseq/>
- <officeaddr1/>
- <officeaddr2/>
- <healexamgubun/>
- <orddeptcd/>
- <orddrid/>
- <insutrgtflag/>
- <insuflag/>
- <insucorpbrchcd/>
- <civilaplflag/>
- <remcnts/>
- <prsdnm/>
- <telno/>
- <detladdr/>
- <biztype/>
- <cmpyno/>
- <cmpystat/>
- <insucd/>
- <workoffice/>
- <balzipcd1/>
- <balzipcd2/>
- <baladdr1/>
- <baladdr2/>
- <officeno/>
- <fax/>
- <email/>
- <prsnchrg/>
- <changedate/>
- <cmpyseq/>
- <cmpysign/>
- <healthdr/>
- <handphon/>
- <uptai/>
- <jongmog/>
- <noise/>
- <dust/>
- <heavymetal/>
- <hrmfllight/>
- <ugyj/>
- <spcchmst/>
- <medical1/>
- <medical2/>
- <medical3/>
- <medical4/>
- <medical5/>
- <medical6/>
- <medical7/>
- <jtarget/>
- <chtarget/>
- <cmpy/>
- <person/>
- <amount/>
- <officertrgtmancnt/>
- <officertrgtwomcnt/>
- <prdtmancnt/>
- <prdtwomcnt/>
- <dsptmancnt/>
- <dsptwomcnt/>
- <dlmancnt/>
- <dlwoncnt/>
- <totlabrmancnt/>
- <totlabrwomcnt/>
- <cancer1/>
- <cancer2/>
- <cancer3/>
- <cancer4/>
- <cancer5/>
- <insunm/>
- <workofficenm/>
- <biztypenm/>
- <totalofficertrgtcnt/>
- <totalprdtcnt/>
- <totaldsptcnt/>
- <totaldlcnt/>
- <totlabrcnt/>
- <prdtcode/>
- <prdtnm/>
- <healexamgubun/>
- <orddeptcd/>
- <orddrid/>
- <insutrgtflag/>
- <insuflag/>
- </item>
- <examlst1>
- <item>
- <testcd/>
- <testnm/>
- <testcd/>
- <cmpyid/>
- <appyear/>
- <examtype/>
- <pkgflag/>
- </item>
- </examlst1>
- <examlst2>
- <item>
- <testcd/>
- <testnm/>
- <cmpyid/>
- <appyear/>
- <examtype/>
- <pkgflag/>
- </item>
- </examlst2>
- <examlst3>
- <item>
- <testcd/>
- <testnm/>
- <cmpyid/>
- <appyear/>
- <examtype/>
- <pkgflag/>
- </item>
- </examlst3>
- <itemdetail>
- <prdtcode/>
- <prdtnm/>
- </itemdetail>
- </cmpysinfo>
- </main>
- <send>
- <save>
- <instcd/>
- <appyear/>
- <cmpyid/>
- <prddate/>
- <prdtcode/>
- <prdtnm/>
- </save>
- <srchcond/>
- <select>
- <srchcmpyid/>
- <srchappyear/>
- </select>
- <srch>
- <srchcmpynm/>
- <srchcmpyid/>
- <srchappyear/>
- <srchinstcd/>
- <srchcmpystat/>
- </srch>
- <orddridinfo>
- <clscd/>
- <etccd/>
- <etcitemcnts/>
- </orddridinfo>
- </send>
- <init>
- <baseinfo>
- <healexamgubun/>
- <orddeptcdlst/>
- <orddridlst/>
- <drlst>
- <itemdr/>
- </drlst>
- <healexamdetlflag/>
- <year>
- <item/>
- </year>
- <insutrgtflag/>
- <insuflag/>
- <yearlist/>
- <S920list/>
- </baseinfo>
- </init>
- <hidden>
- </hidden>
- <temp>
- <prod>
- <item/>
- </prod>
- <cmpysprod/>
- <cmpyid/>
- <templst>
- <list/>
- </templst>
- </temp>
- </root>
- </instance>
- <submission id="TRAHA00001"/>
- <submission id="TRZBC00101"/>
- <submission id="TRAHB00606"/>
- <submission id="TRAHA04047" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/orddridinfo" replace="instance" resultref="/root/init/baseinfo/orddridlst"/>
- <submission id="TRAHA03400" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/srch" resultref="/root/main/ahbmgcpyinfo"/>
- <submission id="TRAHA03401" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/select" resultref="/root/main/cmpysinfo"/>
- <submission id="TXAHB03400" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/save" resultref="/root/hidden"/>
- <submission id="TRAHB01504" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/init/baseinfo/drlst"/>
- <submission id="TRAHA03402" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/main/cmpysinfo/item/cmpyid" resultref="/root/temp/cmpyid"/>
- <bind id="totalofficertrgtcnt" ref="/root/main/cmpysinfo/item/totalofficertrgtcnt" calculate="/root/main/cmpysinfo/item/officertrgtmancnt + 
/root/main/cmpysinfo/item/officertrgtwomcnt"/>
- <bind id="totalprdtcnt" ref="/root/main/cmpysinfo/item/totalprdtcnt" calculate="/root/main/cmpysinfo/item/prdtmancnt + 
/root/main/cmpysinfo/item/prdtwomcnt"/>
- <bind id="totaldsptcnt" ref="/root/main/cmpysinfo/item/totaldsptcnt" calculate="/root/main/cmpysinfo/item/dsptmancnt + 
/root/main/cmpysinfo/item/dsptwomcnt"/>
- <bind id="totaldlcnt" ref="/root/main/cmpysinfo/item/totaldlcnt" calculate="/root/main/cmpysinfo/item/dlmancnt +
 /root/main/cmpysinfo/item/dlwoncnt"/>
- <bind id="totlabrmancnt" ref="/root/main/cmpysinfo/item/totlabrmancnt" calculate="/root/main/cmpysinfo/item/officertrgtmancnt + 
/root/main/cmpysinfo/item/prdtmancnt + 
/root/main/cmpysinfo/item/dsptmancnt + 
/root/main/cmpysinfo/item/dlmancnt"/>
- <bind id="totlabrwomcnt" ref="/root/main/cmpysinfo/item/totlabrwomcnt" calculate="/root/main/cmpysinfo/item/officertrgtwomcnt + 
/root/main/cmpysinfo/item/prdtwomcnt + 
/root/main/cmpysinfo/item/dsptwomcnt + 
/root/main/cmpysinfo/item/dlwoncnt"/>
- <bind id="totlabrcnt" ref="/root/main/cmpysinfo/item/totlabrcnt" calculate="/root/main/cmpysinfo/item/totlabrmancnt + 
/root/main/cmpysinfo/item/totlabrwomcnt"/>
- </model>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/utilHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
- <script type="javascript" src="../../../com/zipcodeweb/js/ZBP001.js"/>
- <script type="javascript" src="../../../ast/commonweb/js/AST.js"/>
- <script type="javascript" src="../../../ast/healexamweb/js/AHA001.js"/>
- <script type="javascript" src="../../../ast/healthexambaseweb/js/healcombolist.js"/>
- <script type="javascript" src="../../../ast/healthexamrsrvacptweb/js/AHA.js"/>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- var sFlag = getScreenMenuParameter();
- if(sFlag == ""){
- m_vHealexamflag = "G";
- m_vHealexamdetlflag = "G01"
- }else{
- m_vHealexamflag = sFlag.substr(0, 1);
- m_vHealexamdetlflag = sFlag.substr(0, 3);
- }
-
- fGetBaseInfo(); //기본/공통코드 정보를 조회
- fInit();
- fInitSrch();
- // 2015/01/09 이정택 주석처리
- //fGetYear();
- // 2015/01/09 이정택 주석처리
- fGetCmpysList();
- fGetComboList();
-
- //컨트롤초기화
- btn_newsave.disabled = false;
- btn_save.disabled = true;
- btn_clear.disabled = false;
- btn_del.disabled = true;
- ]]>
- </script>
- <script type="javascript">
- <![CDATA[
- var vHealexamFlag = "";
- var vHealexamdetlFlag = "";
-
- /*
- * 기본코드 정보를 조회
- */
- function fGetBaseInfo(){
- zbcfGetCodeList(new Array("A0088", "A0108", "A0109")
- , new Array("/root/init/baseinfo/healexamgubun" //건진분류
- , "/root/init/baseinfo/insutrgtflag" //직역구분
- , "/root/init/baseinfo/insuflag" //가입구분
- ));
-
- /*
- * 공통코드 조회
- * 진료과 (G, G26)
- */
- healGetComboList("G", new Array("G26"), new Array("/root/init/baseinfo/orddeptcdlst"), false);
-
- // 2015/01/09 년도를 기준자료료 관리 하도록 프로그램 수정(S900)
- healGetCodeList( new Array("S900", "S920"), new Array("/root/init/baseinfo/yearlist", "/root/init/baseinfo/S920list"));
- }
-
- /********************************************************************************************************************************************************************
- * 화면을 초기화
- *********************************************************************************************************************************************************************/
- function fInit(){
- model.resetInstanceNode("/root/main/ahbmgcpyinfo/item");
- model.resetInstanceNode("/root/main/cmpysinfo/item");
- model.removeNodeset("/root/main/cmpysinfo/examlst1/item");
- model.removeNodeset("/root/main/cmpysinfo/examlst2/item");
- model.removeNodeset("/root/main/cmpysinfo/examlst3/item");
- model.removeNodeset("/root/main/cmpysinfo/itemdetail");
-
- var cur_year = getNewDate().getFullYear();
- model.setValue(ipt_appyear.attribute("ref") , cur_year);
- model.setValue("/root/send/srch/srchcmpystat" , "Y");
- model.setValue("/root/main/cmpysinfo/item/cmpystat" , "Y");
- model.setValue("/root/main/cmpysinfo/item/noise" , "N");
- model.setValue("/root/main/cmpysinfo/item/dust" , "N");
- model.setValue("/root/main/cmpysinfo/item/heavymetal" , "N");
- model.setValue("/root/main/cmpysinfo/item/hrmfllight" , "N");
- model.setValue("/root/main/cmpysinfo/item/ugyj" , "N");
- model.setValue("/root/main/cmpysinfo/item/spcchmst" , "N");
- model.setValue("/root/main/cmpysinfo/item/medical1" , "N");
- model.setValue("/root/main/cmpysinfo/item/medical2" , "N");
- model.setValue("/root/main/cmpysinfo/item/medical3" , "N");
- model.setValue("/root/main/cmpysinfo/item/medical4" , "N");
- model.setValue("/root/main/cmpysinfo/item/medical5" , "N");
- model.setValue("/root/main/cmpysinfo/item/medical6" , "N");
- model.setValue("/root/main/cmpysinfo/item/medical7" , "N");
- model.setValue("/root/main/cmpysinfo/item/jtarget" , "N");
- model.setValue("/root/main/cmpysinfo/item/chtarget" , "N");
- model.setValue("/root/main/cmpysinfo/item/cmpy" , "Y");
- model.setValue("/root/main/cmpysinfo/item/amount" , "0");
- model.setValue("/root/main/cmpysinfo/item/insucorpbrchcd" , "-");
- model.setValue("/root/main/cmpysinfo/item/civilaplflag" , "N");
- model.setValue("/root/main/cmpysinfo/item/officertrgtmancnt" , "0");
- model.setValue("/root/main/cmpysinfo/item/officertrgtwomcnt" , "0");
- model.setValue("/root/main/cmpysinfo/item/prdtmancnt" , "0");
- model.setValue("/root/main/cmpysinfo/item/prdtwomcnt" , "0");
- model.setValue("/root/main/cmpysinfo/item/dsptmancnt" , "0");
- model.setValue("/root/main/cmpysinfo/item/dsptwomcnt" , "0");
- model.setValue("/root/main/cmpysinfo/item/dlmancnt" , "0");
- model.setValue("/root/main/cmpysinfo/item/dlwoncnt" , "0");
- model.refresh();
- }
-
- /********************************************************************************************************************************************************************
- * 조회화면 초기화
- *********************************************************************************************************************************************************************/
- function fInitSrch(){
- var cur_year = getNewDate().getFullYear();
- model.setValue(cmb_srchappyear.attribute("ref"), cur_year);
- }
- /********************************************************************************************************************************************************************
- * 조회할 년도를 가져온다
- *********************************************************************************************************************************************************************/
- function fGetYear(){
- var date = parseInt(getNewDate().getFullYear());
- addComboItem("cmb_srchappyear", date, date, "above");
- for(var i = 1; i < 5; i++){
- addComboItem("cmb_srchappyear", date + (i*-1), date + (i*-1), "above");
- addComboItem("cmb_srchappyear", date + i, date + i, "below");
- }
- }
- /********************************************************************************************************************************************************************
- * 조회
- *********************************************************************************************************************************************************************/
- function fGetCmpysList(){
- submit("TRAHA03400");
- model.refresh();
-
- btn_newsave.disabled = false;
- btn_save.disabled = true;
- btn_clear.disabled = false;
- btn_del.disabled = true;
- }
-
- function fGetComboList(){
- model.makeNode("/root/send/srchcond");
- model.setValue("/root/send/srchcond" , "J");
- model.makeValue("/root/send/srchhealexamflag" , m_vHealexamflag);
- model.makeValue("/root/send/srchhealexamdetlflag" , m_vHealexamdetlflag + "09");
- submit("TRAHB01504");
- }
- /********************************************************************************************************************************************************************
- * 선택한 그리드행을 조회
- *********************************************************************************************************************************************************************/
- function fGetExmpInfo(){
- var idx = grd_ahbmgcpy.row;
- if(idx < 1) return;
-
- model.setValue("/root/send/srch/srchinstcd" , getUserInfo("dutplceinstcd"));
- model.setValue("/root/send/select/srchappyear" , model.getValue("/root/main/ahbmgcpyinfo/item[" + idx + "]/appyear"));
- model.setValue("/root/send/select/srchcmpyid" , model.getValue("/root/main/ahbmgcpyinfo/item[" + idx + "]/cmpyid"));
- submit("TRAHA03401");
-
- //선택된 진료과의 진료의사 정보 가져오기
- if(model.getValue("/root/main/cmpysinfo/item/orddeptcd") != ""){
- model.removeNodeset("/root/init/baseinfo/orddridlst");
-
- model.setValue("/root/send/orddridinfo/clscd", "G");
- model.setValue("/root/send/orddridinfo/etccd", "G27");
- model.setValue("/root/send/orddridinfo/etcitemcnts", model.getValue("/root/main/cmpysinfo/item/orddeptcd"));
- if(submit("TRAHA04047")){
- combo3.disabled = false;
- }
- }else{
- model.setValue("/root/main/cmpysinfo/item/orddrid", "");
- combo3.disabled = true;
- }
-
- var vofficeman = eval(model.getValue("/root/main/cmpysinfo/item/officertrgtmancnt"));
- var vofficewom = eval(model.getValue("/root/main/cmpysinfo/item/officertrgtwomcnt"));
- var vprdtman = eval(model.getValue("/root/main/cmpysinfo/item/prdtmancnt"));
- var vprdtwom = eval(model.getValue("/root/main/cmpysinfo/item/prdtwomcnt"));
- var vdsptman = eval(model.getValue("/root/main/cmpysinfo/item/dsptmancnt"));
- var vdsptwom = eval(model.getValue("/root/main/cmpysinfo/item/dsptwomcnt"));
- var vdlman = eval(model.getValue("/root/main/cmpysinfo/item/dlmancnt"));
- var vdlwon = eval(model.getValue("/root/main/cmpysinfo/item/dlwoncnt"));
- var vtotlabrman = eval(model.getValue("/root/main/cmpysinfo/item/totlabrmancnt"));
- var vtotlabrwom = eval(model.getValue("/root/main/cmpysinfo/item/totlabrwomcnt"));
-
- model.makeValue("/root/main/cmpysinfo/item/totalofficertrgtcnt" , (vofficeman + vofficewom));
- model.makeValue("/root/main/cmpysinfo/item/totalprdtcnt" , (vprdtman + vprdtwom));
- model.makeValue("/root/main/cmpysinfo/item/totalprdtcnt" , (vprdtman + vprdtwom));
- model.makeValue("/root/main/cmpysinfo/item/totaldsptcnt" , (vdsptman + vdsptwom));
- model.makeValue("/root/main/cmpysinfo/item/totaldlcnt" , (vdlman + vdlwon));
- model.makeValue("/root/main/cmpysinfo/item/totlabrcnt" , (vtotlabrman + vtotlabrwom));
- model.refresh();
-
- btn_newsave.disabled = true;
- btn_save.disabled = false;
- btn_clear.disabled = false;
- btn_del.disabled = false;
- }
-
- function fChk(){
- if( model.getValue(ipt_cmpyid.attribute("ref") )== "" ) {
- messageBox("사업장 코드를 ", "C001");
- model.setFocus("ipt_cmpyid");
- return false;
- }
-
- if( model.getValue(ipt_cmpynm.attribute("ref") )== "" ) {
- messageBox("사업장명을 ", "C001");
- model.setFocus("ipt_cmpynm");
- return false;
- }
-
- if( model.getValue(ipt_amount.attribute("ref") )== "" ) {
- messageBox("배치 후 검진금액을 ", "C001");
- model.setFocus("ipt_amount");
- return false;
- }
-
- if( model.getValue(ipt_appyear.attribute("ref") )== "" ) {
- messageBox("적용년도를 ", "C001");
- model.setFocus("ipt_appyear");
- return false;
- }
- /*
- if( model.getValue(ipt_insucorpbrchcd.attribute("ref") )== "" ) {
- messageBox("소속지사코드를 ", "C001");
- model.setFocus("ipt_insucorpbrchcd");
- return false;
- }
-
- if( model.getValue(ipt_civilaplflag.attribute("ref") )== "" ) {
- messageBox("민원실구분을 ", "C001");
- model.setFocus("ipt_civilaplflag");
- return false;
- }
-
- if( model.getValue(bool17.attribute("ref") )== "" ) {
- messageBox("사용상태를 ", "C001");
- model.setFocus("bool17");
- return false;
- }
- */
-
- /*
- var scdid1 = "";
- var scdid2 = "";
- scdid1 = model.getValue("/root/main/cmpysinfo/itemdetail[" + i +"]/prdtcode");
- var k = i + 1;
- for (var j = k; j < grd_prdlst.rows; j++){
- scdid2 = model.getValue("/root/main/cmpysinfo/itemdetail[" + j +"]/prdtcode");
- if (i != j){
- if (scdid1 = scdid2){
- messageBox(j + "번째에서 중복된 자료가 존재합니다", "E999", "");
- //model.r("/root/main/cmpysinfo/itemdetail");
- //model.refresh();
- return false;
- }
- }
- }
- */
- }
-
- /********************************************************************************************************************************************************************
- * 저장
- *********************************************************************************************************************************************************************/
- function fSaveExmp(vMode){
- if(vMode == "" || vMode == null) return;
-
- if(vMode == "i" || vMode == "i") {
- if( messageBox("사업장 정보를", "Q002") != 6 ) return ;
- }else if(vMode == "d") {
- if( messageBox("사업장 정보를", "Q001") != 6 ) return ;
- }
- var prodcode = "";
- for(var i=1; i<grd_prdlst.rows; i++){
- prodcode += grd_prdlst.valueMatrix(i, grd_prdlst.colRef("prdtcode")) + ",";
- }
- model.makeValue("/root/main/cmpysinfo/item/prdtnm" , prodcode);
- model.copyNode("/root/send/save" , "/root/main/cmpysinfo/item");
- model.makeValue("/root/send/save/mode" , vMode);
-
- var examlst1 = grd_examlst1.getUpdateData();
- model.makeValue("/root/send/save/saveexamlst1" , examlst1);
-
- var examlst2 = grd_examlst2.getUpdateData();
- model.makeValue("/root/send/save/saveexamlst2" , examlst2);
-
- var examlst3 = grd_examlst3.getUpdateData();
- model.makeValue("/root/send/save/saveexamlst3" , examlst3);
-
- if(submit("TXAHB03400")){
- if(vMode == "i"){
- fInit();
- fGetCmpysList();
- }else if(vMode == "u"){
- fGetExmpInfo();
- }else if(vMode == "d"){
- fInit();
- fGetCmpysList();
- }
- }
- }
-
- /********************************************************************************************************************************************************************
- * 행추가
- *********************************************************************************************************************************************************************/
- function fAddlst(grd_id){
- var grdObj = document.controls.item(grd_id);
- if(grdObj == null) return;
-
- var idx = grd_ahbmgcpy.row;
- if(idx < 1) return;
-
- var appyear = model.getValue("/root/main/ahbmgcpyinfo/item[" + idx + "]/appyear");
- var cmpyid = model.getValue("/root/main/ahbmgcpyinfo/item[" + idx + "]/cmpyid");
- var examtype = "";
- if(grd_id == "grd_examlst1"){
- examtype = "1";
- }else if(grd_id == "grd_examlst2"){
- examtype = "2";
- }else if(grd_id == "grd_examlst3"){
- examtype = "3";
- }
- var dataCVS = "";
- var duptCd = "";
- var sColSep = "▦";
- var sRowSep = "▩";
- var CVS = "healexamflag" + sColSep + "healexamdetlflag"+ sColSep + "testcd" + sColSep + "calcscorcd" + sRowSep;
-
- model.removeNodeset("/root/temp/templst/list");
- var desNodeSet = "/root/temp/templst";
- fGetPkgCd("SMAHA00100", "P", "Y", "nm", "", "G01", "", desNodeSet, "Y", "", "", "");
-
-
- var examNodeList = instance1.selectNodes(desNodeSet + "/list");
- if(examNodeList.length > 0){
- for(var i=0; i<examNodeList.length; i++){
- grdObj.addRow(false, true);
- var idx = grdObj.rows - 1;
- grdObj.valueMatrix(idx, grdObj.colRef("testcd")) = examNodeList.item(i).pkgcd.text;
- grdObj.valueMatrix(idx, grdObj.colRef("testnm")) = examNodeList.item(i).pkgnm.text;
- grdObj.valueMatrix(idx, grdObj.colRef("cmpyid")) = cmpyid;
- grdObj.valueMatrix(idx, grdObj.colRef("appyear")) = appyear;
- grdObj.valueMatrix(idx, grdObj.colRef("examtype")) = examtype;
- grdObj.valueMatrix(idx, grdObj.colRef("pkgflag")) = examNodeList.item(i).pkgflag.text;
- }
- }
- }
-
- function fDellst(grd_id){
- var grdObj = document.controls.item(grd_id);
- if(grdObj == null) return;
-
- deleteSelectedRows(grdObj, true);
- }
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body guideline="1,1195;1,1646;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="grp_tle" style="left:0px; top:0px; width:1195px; height:13px; ">
- <caption id="caption19" class="tit_1" style="left:0px; top:0px; width:106px; height:14px; ">사업장상세관리</caption>
- </group>
- <group id="grp_biz" scroll="auto" style="left:0px; top:13px; width:1195px; height:602px; ">
- <group id="grp_search" style="left:0px; top:10px; width:1194px; height:35px; vertical-align:top; ">
- <shape id="roundrect3" class="roundrect_search" appearance="roundrect" style="left:0px; top:0px; width:1194px; height:35px; "/>
- <line id="line18" class="line_4" style="x1:1104px; y1:7px; x2:1104px; y2:29px; border-left-style:solid; "/>
- </group>
- <line id="line16" class="line_1" style="x1:685px; y1:412px; x2:977px; y2:412px; "/>
- <group id="group3" style="left:990px; top:340px; width:202px; height:260px; "/>
- </group>
- <group id="group4" scroll="auto" style="left:0px; top:15px; width:1195px; height:740px; ">
- <group id="group5" style="left:0px; top:10px; width:1189px; height:35px; vertical-align:top; ">
- <shape id="roundrect1" class="roundrect_search" appearance="roundrect" style="left:0px; top:0px; width:1189px; height:35px; "/>
- <caption id="caption44" class="search_name" style="left:16px; top:8px; width:86px; height:17px; ">적용년도 :</caption>
- <button id="btn_search" class="btn1_letter2" style="left:1122px; top:7px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fInit();
- fGetCmpysList();
- ]]>
- </script>
- </button>
- <line id="line23" class="line_4" style="x1:1104px; y1:7px; x2:1104px; y2:29px; border-left-style:solid; "/>
- <input id="input12" ref="/root/send/srch/srchcmpyid" class="input_search" style="left:390px; top:8px; width:250px; height:19px; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- inputEnterKey("btn_search", "DOMActivate");
- ]]>
- </script>
- </input>
- <caption id="caption45" class="search_name" style="left:260px; top:8px; width:125px; height:17px; ">사업장코드 :</caption>
- <caption id="caption46" class="search_name" style="left:655px; top:8px; width:99px; height:17px; ">사업장명 :</caption>
- <input id="input13" ref="/root/send/srch/srchcmpynm" class="input_search" style="left:745px; top:8px; width:165px; height:19px; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- inputEnterKey("btn_search", "DOMActivate");
- ]]>
- </script>
- </input>
- <select1 id="cmb_srchappyear" ref="/root/send/srch/srchappyear" appearance="minimal" style="left:107px; top:8px; width:135px; height:19px; text-align:center; vertical-align:middle; ">
- <choices>
- <itemset nodeset="/root/init/baseinfo/yearlist/S900">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption1" class="search_name" style="left:930px; top:8px; width:90px; height:17px; ">사용상태 :</caption>
- <bool id="bool16" checkvalue="Y,N" ref="/root/send/srch/srchcmpystat" style="left:1018px; top:8px; width:20px; height:20px; "/>
- <caption id="caption20" style="left:1040px; top:8px; width:30px; height:20px; ">사용</caption>
- </group>
- <caption id="caption39" class="tit_2" style="left:271px; top:55px; width:82px; height:13px; ">사업장정보</caption>
- <line id="line9" class="line_1" style="x1:270px; y1:70px; x2:1190px; y2:70px; "/>
- <caption id="caption41" class="cell_2" style="left:270px; top:75px; width:94px; height:23px; font-family:돋움; vertical-align:middle; ">사업장코드</caption>
- <input id="ipt_cmpyid" ref="/root/main/cmpysinfo/item/cmpyid" class="input_essential" maxlength="11" style="left:367px; top:77px; width:73px; height:19px; "/>
- <input id="ipt_cmpynm" ref="/root/main/cmpysinfo/item/cmpynm" class="input_essential" visibility="hidden" style="left:440px; top:50px; width:130px; height:19px; "/>
- <caption id="caption49" class="cell_2" style="left:445px; top:75px; width:94px; height:23px; vertical-align:middle; ">사업장주소</caption>
- <output id="output12" ref="/root/main/cmpysinfo/item/officezipcd1" class="output_fix" style="left:542px; top:77px; width:40px; height:19px; "/>
- <output id="output13" ref="/root/main/cmpysinfo/item/officezipcd2" class="output_fix" style="left:584px; top:77px; width:40px; height:19px; "/>
- <button id="button13" class="icon_search" style="left:627px; top:77px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- zbcfOpenZipCodeList("combination", ""
- , "/root/main/cmpysinfo/item/officezipcd1"
- , "/root/main/cmpysinfo/item/officezipcd2"
- , "/root/main/cmpysinfo/item/officezipcdseq"
- , "/root/main/cmpysinfo/item/officeaddr1"
- , "/root/main/cmpysinfo/item/officeaddr2")
- model.resetInstanceNode("/root/main/cmpysinfo/item/officeaddr2");
- model.refresh();
- ]]>
- </script>
- </button>
- <output id="output11" ref="/root/main/cmpysinfo/item/officeaddr1" class="output_fix" style="left:645px; top:77px; width:350px; height:19px; "/>
- <input id="ipt_officeaddr2" ref="/root/main/cmpysinfo/item/officeaddr2" class="input" style="left:1000px; top:77px; width:185px; height:19px; text-align:left; "/>
- <caption id="caption31" class="cell_2" style="left:270px; top:99px; width:94px; height:23px; vertical-align:middle; ">건진분류</caption>
- <select1 id="cmb_gubun" ref="/root/main/cmpysinfo/item/healexamgubun" class="combo_default" appearance="minimal" style="left:367px; top:101px; width:115px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/baseinfo/healexamgubun/A0088">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption29" class="cell_2" style="left:490px; top:99px; width:70px; height:23px; vertical-align:middle; ">진료과</caption>
- <select1 id="combo2" ref="/root/main/cmpysinfo/item/orddeptcd" class="combo_default" appearance="minimal" style="left:565px; top:101px; width:105px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/baseinfo/orddeptcdlst/G26">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- //선택된 진료과의 진료의사 정보 가져오기
- if(model.getValue("/root/main/cmpysinfo/item/orddeptcd") != ""){
- model.removeNodeset("/root/init/baseinfo/orddridlst");
-
- model.setValue("/root/send/orddridinfo/clscd", "G");
- model.setValue("/root/send/orddridinfo/etccd", "G27");
- model.setValue("/root/send/orddridinfo/etcitemcnts", model.getValue("/root/main/cmpysinfo/item/orddeptcd"));
- if(submit("TRAHA04047")){
- combo3.disabled = false;
- }
- }else{
- model.setValue("/root/main/cmpysinfo/item/orddrid", "");
- combo3.disabled = true;
- }
- ]]>
- </script>
- </select1>
- <caption id="caption34" class="cell_2" style="left:675px; top:99px; width:70px; height:23px; vertical-align:middle; ">진료의</caption>
- <select1 id="combo3" ref="/root/main/cmpysinfo/item/orddrid" class="combo_default" disabled="true" appearance="minimal" style="left:750px; top:101px; width:85px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/baseinfo/orddridlst/item">
- <label ref="etcdetlnm"/>
- <value ref="etcdetlcd"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption36" class="cell_2" style="left:840px; top:100px; width:70px; height:23px; vertical-align:middle; ">직역구분</caption>
- <select1 id="combo17" ref="/root/main/cmpysinfo/item/insutrgtflag" class="combo_default" appearance="minimal" style="left:915px; top:101px; width:80px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/baseinfo/insutrgtflag/A0108">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption35" class="cell_2" style="left:999px; top:100px; width:70px; height:23px; vertical-align:middle; ">가입구분</caption>
- <select1 id="cmb_insuflag" ref="/root/main/cmpysinfo/item/insuflag" class="combo_default" appearance="minimal" style="left:1072px; top:101px; width:113px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/baseinfo/insuflag/A0109">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption37" class="tit_2" style="left:271px; top:135px; width:175px; height:13px; ">일반검진</caption>
- <button id="btn_searchadd" class="btn2_letter3" style="left:450px; top:130px; width:53px; height:19px; ">
- <caption>행추가</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fAddlst("grd_examlst1");
- ]]>
- </script>
- </button>
- <button id="button2" class="btn2_letter3" style="left:507px; top:130px; width:53px; height:19px; ">
- <caption>행삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fDellst("grd_examlst1");
- ]]>
- </script>
- </button>
- <datagrid id="grd_examlst1" nodeset="/root/main/cmpysinfo/examlst1/item" caption="코드^명칭^패키지구분^수가코드^건진구분^건진상세구분" colsep="^" colwidth="80, 175, 100, 100, 100, 100" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" style="left:268px; top:150px; width:292px; height:135px; ">
- <col ref="testcd"/>
- <col ref="testnm"/>
- <col ref="cmpyid" visibility="hidden"/>
- <col ref="appyear" visibility="hidden"/>
- <col ref="examtype" visibility="hidden"/>
- <col ref="pkgflag" visibility="hidden"/>
- </datagrid>
- <button id="button3" class="btn2_letter3" style="left:762px; top:130px; width:53px; height:19px; ">
- <caption>행추가</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fAddlst("grd_examlst2");
- ]]>
- </script>
- </button>
- <button id="button4" class="btn2_letter3" style="left:819px; top:130px; width:53px; height:19px; ">
- <caption>행삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fDellst("grd_examlst2");
- ]]>
- </script>
- </button>
- <caption id="caption38" class="tit_2" style="left:582px; top:135px; width:175px; height:13px; ">생애검진 - 간염 대상</caption>
- <datagrid id="grd_examlst2" nodeset="/root/main/cmpysinfo/examlst2/item" caption="코드^명칭^패키지구분^수가코드^건진구분^건진상세구분" colsep="^" colwidth="80, 175, 100, 100, 100, 100" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" style="left:580px; top:150px; width:292px; height:135px; ">
- <col ref="testcd"/>
- <col ref="testnm"/>
- <col ref="cmpyid" visibility="hidden"/>
- <col ref="appyear" visibility="hidden"/>
- <col ref="examtype" visibility="hidden"/>
- <col ref="pkgflag" visibility="hidden"/>
- </datagrid>
- <button id="button5" class="btn2_letter3" style="left:1075px; top:130px; width:53px; height:19px; ">
- <caption>행추가</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fAddlst("grd_examlst3");
- ]]>
- </script>
- </button>
- <button id="button6" class="btn2_letter3" style="left:1132px; top:130px; width:53px; height:19px; ">
- <caption>행삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fDellst("grd_examlst3");
- ]]>
- </script>
- </button>
- <caption id="caption43" class="tit_2" style="left:895px; top:135px; width:175px; height:13px; ">생애검진 - 간염 비대상</caption>
- <datagrid id="grd_examlst3" nodeset="/root/main/cmpysinfo/examlst3/item" caption="코드^명칭^패키지구분^수가코드^건진구분^건진상세구분" colsep="^" colwidth="80, 175, 100, 100, 100, 100" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" style="left:893px; top:150px; width:292px; height:135px; ">
- <col ref="testcd"/>
- <col ref="testnm"/>
- <col ref="cmpyid" visibility="hidden"/>
- <col ref="appyear" visibility="hidden"/>
- <col ref="examtype" visibility="hidden"/>
- <col ref="pkgflag" visibility="hidden"/>
- </datagrid>
- <caption id="caption42" class="tit_2" style="left:5px; top:55px; width:90px; height:14px; ">사업장</caption>
- <line id="line22" class="line_1" style="x1:0px; y1:70px; x2:265px; y2:70px; "/>
- <datagrid id="grd_ahbmgcpy" nodeset="/root/main/ahbmgcpyinfo/item" caption="사업장코드^사업장명^appyear" colsep="^" colwidth="80, 224, 100" explorerbar="sortshow" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" style="left:0px; top:75px; width:265px; height:655px; ">
- <col ref="cmpyid" type="output"/>
- <col ref="cmpynm" type="output"/>
- <col ref="appyear" visibility="hidden"/>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- fGetExmpInfo();
-
- //2015/07/29 우편번호 관련 프로그램 수정
- var cnt = getNodesetCount("/root/init/baseinfo/S920list/S920[cdid='Y']");
- if(cnt>0){
- fNewZipCdCheck(model.getValue("/root/main/cmpysinfo/item/officezipcd1"), model.getValue("/root/main/cmpysinfo/item/officezipcd2"));
- }
- //2015/07/29 우편번호 관련 프로그램 수정
- ]]>
- </script>
- <script type="javascript" ev:event="onaftersort">
- <![CDATA[
- grd_ahbmgcpy.gridToInstance();
- ]]>
- </script>
- </datagrid>
- <caption id="caption40" class="cell_1" style="left:270px; top:289px; width:94px; height:23px; vertical-align:middle; ">대표자성명</caption>
- <caption id="caption47" class="cell_1" style="left:270px; top:337px; width:94px; height:23px; vertical-align:middle; ">조합기호</caption>
- <caption id="caption48" class="cell_1" style="left:270px; top:385px; width:94px; height:23px; vertical-align:middle; ">전화번호</caption>
- <caption id="caption50" class="cell_1" style="left:270px; top:409px; width:94px; height:23px; vertical-align:middle; ">발송주소</caption>
- <output id="output14" ref="/root/main/cmpysinfo/item/balzipcd1" class="output_fix" style="left:367px; top:411px; width:48px; height:19px; "/>
- <caption id="caption3" style="left:417px; top:411px; width:13px; height:19px; text-align:center; ">-</caption>
- <output id="output15" ref="/root/main/cmpysinfo/item/balzipcd2" class="output_fix" style="left:434px; top:411px; width:48px; height:19px; "/>
- <button id="button14" class="icon_search" style="left:487px; top:411px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- zbcfOpenZipCodeList("combination", ""
- , "/root/main/cmpysinfo/item/balzipcd1"
- , "/root/main/cmpysinfo/item/balzipcd2"
- , "/root/main/cmpysinfo/item/baladdr1"
- , "/root/main/cmpysinfo/item/baladdr2");
- model.resetInstanceNode("/root/main/cmpysinfo/item/baladdr2");
- model.refresh();
- ]]>
- </script>
- </button>
- <output id="output10" ref="/root/main/cmpysinfo/item/baladdr1" class="output_fix" style="left:510px; top:411px; width:269px; height:19px; "/>
- <input id="ipt_baladdr2" ref="/root/main/cmpysinfo/item/baladdr2" class="input" style="left:785px; top:411px; width:295px; height:19px; text-align:left; "/>
- <caption id="caption51" class="cell_1" style="left:270px; top:433px; width:94px; height:23px; vertical-align:middle; ">업종코드</caption>
- <input id="ipt_telno" ref="/root/main/cmpysinfo/item/telno" class="input" style="left:367px; top:386px; width:84px; height:19px; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- if( event.keyCode == 13) {
- model.setFocus("ipt_fax");
- }
- ]]>
- </script>
- </input>
- <button id="button9" class="btn2_letter9" style="left:1072px; top:50px; width:119px; height:19px; ">
- <caption>사업장관리번호생성</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- if(submit("TRAHA03402")){
- model.makeValue("/root/main/cmpysinfo/item/cmpyid", model.getValue("/root/temp/temp/cmpyid/cmpyid"));
- }
- model.refresh();
- ]]>
- </script>
- </button>
- <caption id="caption52" class="cell_1" style="left:763px; top:385px; width:79px; height:23px; font-family:돋움; vertical-align:middle; ">E_Mail</caption>
- <input id="ipt_email" ref="/root/main/cmpysinfo/item/email" class="input" style="left:845px; top:385px; width:235px; height:19px; "/>
- <select id="checkbox17" ref="/root/main/cmpysinfo/item/changedate" overflow="visible" appearance="full" style="left:604px; top:290px; width:88px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>검진일자변경</label>
- <value>Y</value>
- </item>
- </choices>
- </select>
- <input id="ipt_prsnchrg" ref="/root/main/cmpysinfo/item/prsnchrg" class="input" style="left:782px; top:290px; width:78px; height:19px; "/>
- <caption id="caption53" class="cell_1" style="left:700px; top:289px; width:79px; height:23px; font-family:돋움; vertical-align:middle; ">담당자</caption>
- <input id="ipt_officeno" ref="/root/main/cmpysinfo/item/officeno" class="input" style="left:367px; top:314px; width:233px; height:19px; "/>
- <caption id="caption54" class="cell_1" style="left:270px; top:313px; width:94px; height:23px; vertical-align:middle; ">사업장개시번호</caption>
- <input id="ipt_cmpyno" ref="/root/main/cmpysinfo/item/cmpyno" class="input" style="left:963px; top:314px; width:117px; height:19px; "/>
- <caption id="caption55" class="cell_1" style="left:866px; top:313px; width:94px; height:23px; vertical-align:middle; ">사업자등록번호</caption>
- <caption id="caption56" class="cell_1" style="left:700px; top:313px; width:79px; height:23px; vertical-align:middle; ">사업장순번</caption>
- <input id="ipt_cmpyseq" ref="/root/main/cmpysinfo/item/cmpyseq" class="input" style="left:782px; top:314px; width:78px; height:19px; "/>
- <button id="button10" class="icon_search" style="left:424px; top:339px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fGetComnCd("SMAHB00500", "02" , "cd", model.getValue("/root/main/cmpysinfo/item/insucd"), "/root/main/cmpysinfo/item/insucd","/root/main/cmpysinfo/item/insunm");
- output7.refresh();
- output4.refresh();
- ]]>
- </script>
- </button>
- <button id="button11" class="icon_search" style="left:424px; top:363px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fGetComnCd("SMAHB00500", "06" , "cd", model.getValue("/root/main/cmpysinfo/item/workoffice"), "/root/main/cmpysinfo/item/workoffice","/root/main/cmpysinfo/item/workofficenm");
- output8.refresh();
- output5.refresh();
- ]]>
- </script>
- </button>
- <input id="input1" ref="/root/main/cmpysinfo/item/cmpysign" class="input" style="left:782px; top:338px; width:298px; height:19px; "/>
- <caption id="caption57" class="cell_1" style="left:700px; top:337px; width:79px; height:23px; font-family:돋움; vertical-align:middle; ">사업장기호</caption>
- <caption id="caption58" class="cell_1" style="left:700px; top:361px; width:79px; height:23px; font-family:돋움; vertical-align:middle; ">검진의사</caption>
- <caption id="caption59" class="cell_1" style="left:460px; top:385px; width:35px; height:23px; vertical-align:middle; ">Fax</caption>
- <input id="ipt_fax" ref="/root/main/cmpysinfo/item/fax" class="input" style="left:498px; top:386px; width:84px; height:19px; "/>
- <caption id="caption60" class="cell_1" style="left:590px; top:385px; width:79px; height:23px; vertical-align:middle; ">휴대폰번호</caption>
- <input id="ipt_handphon" ref="/root/main/cmpysinfo/item/handphon" class="input" style="left:672px; top:386px; width:84px; height:19px; "/>
- <caption id="caption61" class="cell_1" style="left:270px; top:361px; width:94px; height:23px; vertical-align:middle; ">노동사무소</caption>
- <button id="button15" class="icon_search" style="left:424px; top:435px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fGetCommonCode("N","G109",model.getValue("/root/main/cmpysinfo/item/biztype"),"","/root/main/cmpysinfo/item/biztype","/root/main/cmpysinfo/item/biztypenm");
- output9.refresh();
- output6.refresh();
- ]]>
- </script>
- </button>
- <caption id="caption62" class="cell_1" style="left:700px; top:433px; width:39px; height:23px; font-family:돋움; vertical-align:middle; ">업태</caption>
- <input id="ipt_uptai" ref="/root/main/cmpysinfo/item/uptai" class="input" style="left:742px; top:435px; width:110px; height:19px; "/>
- <input id="ipt_jongmog" ref="/root/main/cmpysinfo/item/jongmog" class="input" style="left:898px; top:435px; width:182px; height:19px; "/>
- <caption id="caption63" class="cell_1" style="left:858px; top:433px; width:39px; height:23px; font-family:돋움; vertical-align:middle; ">종목</caption>
- <caption id="caption64" class="tit_2" style="left:271px; top:464px; width:149px; height:13px; ">특정암검진 검진의사</caption>
- <line id="line6" class="line_1" style="x1:270px; y1:480px; x2:1190px; y2:480px; "/>
- <caption id="caption65" class="cell_1" style="left:270px; top:484px; width:39px; height:23px; vertical-align:middle; ">위암</caption>
- <select1 id="combo7" ref="/root/main/cmpysinfo/item/cancer1" appearance="minimal" style="left:312px; top:486px; width:90px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/baseinfo/drlst/itemdr">
- <label ref="drnm"/>
- <value ref="drid"/>
- </itemset>
- </choices>
- </select1>
- <select1 id="combo8" ref="/root/main/cmpysinfo/item/cancer2" appearance="minimal" style="left:458px; top:486px; width:90px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/baseinfo/drlst/itemdr">
- <label ref="drnm"/>
- <value ref="drid"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption66" class="cell_1" style="left:410px; top:484px; width:44px; height:23px; vertical-align:middle; ">대장암</caption>
- <caption id="caption67" class="cell_1" style="left:556px; top:484px; width:39px; height:23px; vertical-align:middle; ">간암</caption>
- <select1 id="combo9" ref="/root/main/cmpysinfo/item/cancer3" appearance="minimal" style="left:598px; top:486px; width:90px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/baseinfo/drlst/itemdr">
- <label ref="drnm"/>
- <value ref="drid"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption68" class="cell_1" style="left:696px; top:484px; width:44px; height:23px; vertical-align:middle; ">유방암</caption>
- <select1 id="combo10" ref="/root/main/cmpysinfo/item/cancer4" appearance="minimal" style="left:743px; top:486px; width:90px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/baseinfo/drlst/itemdr">
- <label ref="drnm"/>
- <value ref="drid"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption69" class="cell_1" style="left:841px; top:484px; width:67px; height:23px; vertical-align:middle; ">자궁경부암</caption>
- <select1 id="combo11" ref="/root/main/cmpysinfo/item/cancer5" appearance="minimal" style="left:912px; top:486px; width:90px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/baseinfo/drlst/itemdr">
- <label ref="drnm"/>
- <value ref="drid"/>
- </itemset>
- </choices>
- </select1>
- <line id="line33" class="line_1" style="x1:270px; y1:582px; x2:562px; y2:582px; "/>
- <group id="group6" style="left:260px; top:560px; width:305px; height:175px; ">
- <datagrid id="grd_prdlst" nodeset="/root/main/cmpysinfo/itemdetail" visibility="visible" caption="코드^생산품목명^caption4" colsep="^" colwidth="70, 170" explorerbar="sortshow" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" style="left:10px; top:27px; width:291px; height:143px; ">
- <col ref="prdtcode" type="output"/>
- <col ref="prdtnm" type="output"/>
- <script type="javascript" ev:event="onaftersort">
- <![CDATA[
- grd_prdlst.gridToInstance();
- ]]>
- </script>
- </datagrid>
- </group>
- <caption id="caption70" class="tit_2" style="left:271px; top:567px; width:149px; height:13px; ">생산품목</caption>
- <group id="group7" style="left:565px; top:560px; width:305px; height:175px; "/>
- <caption id="caption71" class="tit_2" style="left:575px; top:567px; width:149px; height:13px; ">근로자현황</caption>
- <line id="line34" class="line_1" style="x1:575px; y1:582px; x2:867px; y2:582px; "/>
- <group id="group8" style="left:883px; top:560px; width:312px; height:175px; ">
- <select1 id="radio3" ref="/root/main/cmpysinfo/item/cmpy" appearance="full" cols="2" overflow="visible" style="left:202px; top:45px; width:88px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>회사</label>
- <value>Y</value>
- </item>
- <item>
- <label>개인</label>
- <value>N</value>
- </item>
- </choices>
- </select1>
- </group>
- <caption id="caption72" class="tit_2" style="left:885px; top:567px; width:149px; height:13px; ">검진종목</caption>
- <line id="line35" class="line_1" style="x1:883px; y1:582px; x2:1190px; y2:582px; "/>
- <button id="button17" class="btn2_letter8" style="left:454px; top:562px; width:108px; height:19px; ">
- <caption>생산품목등록(M)</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.removeNodeset("/root/temp/prod/item");
- model.makeNode("/root/temp/prod/item");
- fGetCommonCode("Y","G106","","/root/temp/prod/item","","");
-
- //조회창에서 받아온값
- var nodeList = instance1.selectNodes("/root/temp/prod/item");
- var check = true;
-
- //받아온값을 받아온수만큼 돌린다
- for(var i=1; i <= nodeList.length; i++) {
- var idx = grd_prdlst.rows - 1;
- check = true;
-
- //그리드에 같은 값이 있는지 확인
- for(var j=1;j<=grd_prdlst.rows; j++) {
- if ( model.getValue("/root/temp/prod/item[" + i + "]/cdid") == grd_prdlst.valueMatrix(j , grd_prdlst.colRef("prdtcode"))) {
- messageBox(j + "번째에서 중복된 자료가 존재합니다", "E999", "");
- check = false;
- break;
- }
- }
-
- // 값은 값이 없으면 insert
- if (check == true) {
- grd_prdlst.addRow(false);
- grd_prdlst.valueMatrix(idx+1 , grd_prdlst.colRef("prdtcode")) = model.getValue("/root/temp/prod/item[" + i + "]/cdid");
- grd_prdlst.valueMatrix(idx+1 , grd_prdlst.colRef("prdtnm")) = model.getValue("/root/temp/prod/item[" + i + "]/cdnm");
- }
- }
- ]]>
- </script>
- </button>
- <input id="ipt_amount" ref="/root/main/cmpysinfo/item/amount" class="input" format="#,###" style="left:1087px; top:675px; width:93px; height:19px; text-align:right; "/>
- <caption id="caption73" class="tit_2" style="left:271px; top:517px; width:149px; height:13px; ">특수검진 유해인자</caption>
- <line id="line7" class="line_1" style="x1:270px; y1:532px; x2:1190px; y2:532px; "/>
- <caption id="caption75" class="cell_1" style="left:866px; top:289px; width:94px; height:23px; text-align:center; vertical-align:middle; ">적용년도</caption>
- <caption id="caption2" class="cell_1" style="left:880px; top:360px; width:59px; height:23px; vertical-align:middle; ">사용상태</caption>
- <bool id="bool1" checkvalue="Y,N" ref="/root/main/cmpysinfo/item/noise" style="left:268px; top:536px; width:20px; height:20px; "/>
- <bool id="bool2" checkvalue="Y,N" ref="/root/main/cmpysinfo/item/dust" style="left:330px; top:536px; width:20px; height:20px; "/>
- <bool id="bool3" checkvalue="Y,N" ref="/root/main/cmpysinfo/item/heavymetal" style="left:390px; top:536px; width:20px; height:20px; "/>
- <bool id="bool4" checkvalue="Y,N" ref="/root/main/cmpysinfo/item/hrmfllight" style="left:460px; top:536px; width:20px; height:20px; "/>
- <bool id="bool5" checkvalue="Y,N" ref="/root/main/cmpysinfo/item/ugyj" style="left:545px; top:536px; width:20px; height:20px; "/>
- <bool id="bool6" checkvalue="Y,N" ref="/root/main/cmpysinfo/item/spcchmst" style="left:630px; top:536px; width:20px; height:20px; "/>
- <caption id="caption4" style="left:288px; top:537px; width:35px; height:20px; ">소음</caption>
- <caption id="caption5" style="left:350px; top:537px; width:35px; height:20px; ">분진</caption>
- <caption id="caption6" style="left:410px; top:537px; width:43px; height:20px; ">중금속</caption>
- <caption id="caption7" style="left:480px; top:537px; width:55px; height:20px; ">유해광선</caption>
- <caption id="caption8" style="left:565px; top:537px; width:55px; height:20px; ">유기용제</caption>
- <caption id="caption9" style="left:650px; top:537px; width:62px; height:20px; ">특정화학물</caption>
- <bool id="bool7" checkvalue="Y,N" ref="/root/main/cmpysinfo/item/medical1" style="left:883px; top:585px; width:20px; height:20px; "/>
- <caption id="caption10" style="left:903px; top:586px; width:55px; height:20px; ">일반검진</caption>
- <caption id="caption11" style="left:903px; top:603px; width:55px; height:20px; ">종합검진</caption>
- <bool id="bool8" checkvalue="Y,N" ref="/root/main/cmpysinfo/item/medical2" style="left:883px; top:602px; width:20px; height:20px; "/>
- <caption id="caption12" style="left:903px; top:619px; width:55px; height:20px; ">채용검진</caption>
- <bool id="bool9" checkvalue="Y,N" ref="/root/main/cmpysinfo/item/medical3" style="left:883px; top:618px; width:20px; height:20px; "/>
- <caption id="caption13" style="left:903px; top:637px; width:55px; height:20px; ">특수검진</caption>
- <bool id="bool10" checkvalue="Y,N" ref="/root/main/cmpysinfo/item/medical4" style="left:883px; top:636px; width:20px; height:20px; "/>
- <bool id="bool11" checkvalue="Y,N" ref="/root/main/cmpysinfo/item/medical5" style="left:883px; top:653px; width:20px; height:20px; "/>
- <caption id="caption14" style="left:903px; top:654px; width:62px; height:20px; ">배치전검진</caption>
- <caption id="caption15" style="left:903px; top:671px; width:62px; height:20px; ">배치후검진</caption>
- <bool id="bool12" checkvalue="Y,N" ref="/root/main/cmpysinfo/item/medical6" style="left:883px; top:670px; width:20px; height:20px; "/>
- <bool id="bool13" checkvalue="Y,N" ref="/root/main/cmpysinfo/item/medical7" style="left:883px; top:687px; width:20px; height:20px; "/>
- <caption id="caption16" style="left:903px; top:688px; width:55px; height:20px; ">수시검진</caption>
- <caption id="caption17" style="left:903px; top:706px; width:78px; height:20px; ">검진지급대상</caption>
- <bool id="bool14" checkvalue="Y,N" ref="/root/main/cmpysinfo/item/jtarget" style="left:883px; top:705px; width:20px; height:20px; "/>
- <bool id="bool15" checkvalue="Y,N" ref="/root/main/cmpysinfo/item/chtarget" style="left:1087px; top:705px; width:20px; height:20px; "/>
- <caption id="caption18" style="left:1107px; top:706px; width:78px; height:20px; ">측정지급대상</caption>
- <bool id="bool17" checkvalue="Y,N" ref="/root/main/cmpysinfo/item/cmpystat" style="left:940px; top:361px; width:20px; height:20px; "/>
- <caption id="caption21" style="left:959px; top:362px; width:30px; height:20px; ">사용</caption>
- <caption id="caption22" class="cell_1" style="left:575px; top:589px; width:71px; height:23px; text-align:center; vertical-align:middle; ">구 분</caption>
- <caption id="caption23" class="cell_1" style="left:575px; top:613px; width:71px; height:23px; text-align:center; vertical-align:middle; ">사무직</caption>
- <caption id="caption24" class="cell_1" style="left:575px; top:637px; width:71px; height:23px; text-align:center; vertical-align:middle; ">생산직</caption>
- <caption id="caption25" class="cell_1" style="left:575px; top:661px; width:71px; height:23px; text-align:center; vertical-align:middle; ">파견직</caption>
- <caption id="caption26" class="cell_1" style="left:575px; top:685px; width:71px; height:23px; text-align:center; vertical-align:middle; ">일용직</caption>
- <caption id="caption27" class="cell_1" style="left:575px; top:709px; width:71px; height:23px; text-align:center; vertical-align:middle; ">총 계</caption>
- <line id="line1" class="line_2" style="x1:575px; y1:611px; x2:866px; y2:611px; "/>
- <line id="line2" class="line_2" style="x1:575px; y1:635px; x2:866px; y2:635px; "/>
- <line id="line3" class="line_2" style="x1:575px; y1:659px; x2:866px; y2:659px; "/>
- <line id="line4" class="line_2" style="x1:575px; y1:683px; x2:866px; y2:683px; "/>
- <line id="line5" class="line_2" style="x1:575px; y1:707px; x2:866px; y2:707px; "/>
- <caption id="caption28" class="cell_1" style="left:723px; top:589px; width:71px; height:23px; text-align:center; vertical-align:middle; ">여 자</caption>
- <output id="output2" ref="/root/main/cmpysinfo/item/totalprdtcnt" class="output_fix" style="left:797px; top:638px; width:70px; height:19px; text-align:right; padding-right:5; "/>
- <output id="output3" ref="/root/main/cmpysinfo/item/totaldsptcnt" class="output_fix" style="left:797px; top:662px; width:70px; height:19px; text-align:right; padding-right:5; "/>
- <output id="output4" ref="/root/main/cmpysinfo/item/insunm" class="output_fix" style="left:445px; top:338px; width:249px; height:19px; "/>
- <output id="output5" ref="/root/main/cmpysinfo/item/workofficenm" class="output_fix" style="left:445px; top:362px; width:249px; height:19px; "/>
- <output id="output6" ref="/root/main/cmpysinfo/item/biztypenm" class="output_fix" style="left:445px; top:435px; width:249px; height:19px; "/>
- <output id="output7" ref="/root/main/cmpysinfo/item/insucd" class="output_fix" style="left:367px; top:338px; width:53px; height:19px; "/>
- <output id="output8" ref="/root/main/cmpysinfo/item/workoffice" class="output_fix" style="left:367px; top:362px; width:53px; height:19px; "/>
- <output id="output9" ref="/root/main/cmpysinfo/item/biztype" class="output_fix" style="left:367px; top:435px; width:53px; height:19px; "/>
- <select1 id="combo1" ref="/root/main/cmpysinfo/item/healthdr" appearance="minimal" style="left:782px; top:362px; width:90px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/baseinfo/drlst/itemdr">
- <label ref="drnm"/>
- <value ref="drid"/>
- </itemset>
- </choices>
- </select1>
- <button id="button1" class="btn2_letter3" style="left:399px; top:562px; width:53px; height:19px; ">
- <caption>행삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- grd_prdlst.deleteRow(grd_prdlst.row);
- ]]>
- </script>
- </button>
- <input id="ipt_appyear" ref="/root/main/cmpysinfo/item/appyear" class="input" maxlength="4" style="left:963px; top:290px; width:117px; height:19px; "/>
- <caption id="caption32" class="cell_1" style="left:649px; top:589px; width:71px; height:23px; text-align:center; vertical-align:middle; ">남 자</caption>
- <caption id="caption33" class="cell_1" style="left:797px; top:589px; width:70px; height:23px; text-align:center; vertical-align:middle; ">총 계</caption>
- <output id="output16" ref="/root/main/cmpysinfo/item/totalofficertrgtcnt" class="output_fix" style="left:797px; top:615px; width:70px; height:19px; text-align:right; padding-right:5; "/>
- <output id="output17" ref="/root/main/cmpysinfo/item/totaldlcnt" class="output_fix" style="left:797px; top:686px; width:70px; height:19px; text-align:right; padding-right:5; "/>
- <output id="output18" ref="/root/main/cmpysinfo/item/totlabrcnt" class="output_fix" style="left:797px; top:709px; width:70px; height:19px; text-align:right; padding-right:5; "/>
- <output id="output19" ref="/root/main/cmpysinfo/item/totlabrwomcnt" class="output_fix" style="left:723px; top:710px; width:71px; height:19px; text-align:right; padding-right:5; "/>
- <output id="output20" ref="/root/main/cmpysinfo/item/totlabrmancnt" class="output_fix" style="left:649px; top:710px; width:71px; height:19px; text-align:right; padding-right:5; "/>
- <input id="ipt_officertrgtmancnt" ref="/root/main/cmpysinfo/item/officertrgtmancnt" class="input" style="left:649px; top:615px; width:71px; height:19px; text-align:right; padding-right:5; "/>
- <input id="ipt_officertrgtwomcnt" ref="/root/main/cmpysinfo/item/officertrgtwomcnt" class="input" style="left:723px; top:615px; width:71px; height:19px; text-align:right; padding-right:5; "/>
- <input id="ipt_prdtmancnt" ref="/root/main/cmpysinfo/item/prdtmancnt" class="input" style="left:649px; top:638px; width:71px; height:19px; text-align:right; padding-right:5; "/>
- <input id="ipt_dsptmancnt" ref="/root/main/cmpysinfo/item/dsptmancnt" class="input" style="left:649px; top:662px; width:71px; height:19px; text-align:right; padding-right:5; "/>
- <input id="ipt_dlmancnt" ref="/root/main/cmpysinfo/item/dlmancnt" class="input" style="left:649px; top:686px; width:71px; height:19px; text-align:right; padding-right:5; "/>
- <input id="ipt_prdtwomcnt" ref="/root/main/cmpysinfo/item/prdtwomcnt" class="input" style="left:723px; top:638px; width:71px; height:19px; text-align:right; padding-right:5; "/>
- <input id="ipt_dsptwomcnt" ref="/root/main/cmpysinfo/item/dsptwomcnt" class="input" style="left:723px; top:662px; width:71px; height:19px; text-align:right; padding-right:5; "/>
- <input id="ipt_dlwoncnt" ref="/root/main/cmpysinfo/item/dlwoncnt" class="input" style="left:723px; top:686px; width:71px; height:19px; text-align:right; padding-right:5; "/>
- <input id="ipt_prsdnm" ref="/root/main/cmpysinfo/item/prsdnm" class="input" style="left:367px; top:290px; width:233px; height:19px; "/>
- <input id="ipt_insucorpbrchcd" ref="/root/main/cmpysinfo/item/insucorpbrchcd" class="input" visibility="hidden" style="left:1085px; top:385px; width:15px; height:19px; "/>
- <input id="ipt_civilaplflag" ref="/root/main/cmpysinfo/item/civilaplflag" class="input" visibility="hidden" style="left:1105px; top:385px; width:15px; height:19px; "/>
- <input id="input3" ref="/root/main/cmpysinfo/item/prdtcode" class="input" visibility="hidden" maxlength="4" style="left:1085px; top:340px; width:15px; height:19px; "/>
- <input id="input4" ref="/root/main/cmpysinfo/item/prdtnm" class="input" visibility="hidden" maxlength="4" style="left:1105px; top:340px; width:15px; height:19px; "/>
- <caption id="caption30" class="cell_1" style="left:1087px; top:651px; width:93px; height:23px; text-align:center; vertical-align:middle; ">배치후검진금액</caption>
- </group>
- <line id="line52" class="line_3" style="x1:3px; y1:750px; x2:1195px; y2:750px; "/>
- <group id="grp_btn" style="left:0px; top:757px; width:1195px; height:27px; ">
- <button id="btn_save" class="btn4_letter2" style="left:1007px; top:5px; width:56px; height:22px; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if(fChk() == false){
- return;
- }
- fSaveExmp("u");
- ]]>
- </script>
- </button>
- <button id="btn_del" class="btn4_letter2" style="left:1067px; top:5px; width:56px; height:22px; ">
- <caption>삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fSaveExmp("d");
- ]]>
- </script>
- </button>
- <button id="btn_clear" class="btn4_letter3" style="left:1126px; top:5px; width:68px; height:22px; ">
- <caption>초기화</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fInit();
- fInitSrch();
- fGetCmpysList();
- ]]>
- </script>
- </button>
- <button id="btn_newsave" class="btn4_letter4" style="left:924px; top:5px; width:58px; height:22px; ">
- <caption>신규생성</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.setValue("/root/main/cmpysinfo/item/insucorpbrchcd", "-");
- model.setValue("/root/main/cmpysinfo/item/civilaplflag", "N");
- if(fChk() == false){
- return;
- }
- fSaveExmp("i");
- ]]>
- </script>
- </button>
- </group>
- </xhtml:body>
- </xhtml:html>
|